package com.ruoyi.message.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邮件收件人账号对象 mail_to_user
 * 
 * @author shushuang
 * @date 2019-10-18
 */
public class MailToUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String uuid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 收件人邮件账号 */
    @Excel(name = "收件人邮件账号")
    private String mailUsername;

    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMailUsername(String mailUsername) 
    {
        this.mailUsername = mailUsername;
    }

    public String getMailUsername() 
    {
        return mailUsername;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("userId", getUserId())
            .append("mailUsername", getMailUsername())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
